ConfirmCallback

public interface ConfirmCallback implements BrowserAsyncCallback<P, R>

This callback is invoked when JavaScript confirmation dialog should be displayed. In this callback you can display standard Java modal dialog with the message that you can get from . Please note that it is not necessary to display a dialog in this callback.

Use the ok method to notify that the JavaScript dialog is closed with the "OK" action.

Use the cancel method to cancel the dialog.

If the callback throws an exception, the cancel method will be invoked.

Inheritors

Types

Link copied to clipboard
public final class Action extends AsyncCallbackAction<R>
An action providing a response to the ConfirmCallback.
Link copied to clipboard
public interface Params
The parameters of the ConfirmCallback.

Functions

Link copied to clipboard
public abstract void on(P params, R tell)
Invoked when the callback needs a response for the given callback parameters.